package com.seven.bus.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import java.io.Serializable;
/**
 * <p>
 * 
 * </p>
 *
 * @author seven
 * @since 2021-01-12
 */
@TableName("bus_info")
public class BusInfo implements Serializable {

    private static final long serialVersionUID = 1L;
@TableId(type = IdType.AUTO)
    private Integer id;

    private Date startTime;

    private Date endTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    @Override
    public String toString() {
        return "BusInfo{" +
        ", id=" + id +
        ", startTime=" + startTime +
        ", endTime=" + endTime +
        "}";
    }
}
